-- Determine if a given integer is odd or even.

isOdd n = mod n 2 == 1

isEven n = not (isOdd n)
